import pygame


class Settings:
    #存储设置类
    def __init__(self):
        # 初始化游戏设置
        # 屏幕设置
        self.screen_width = 1200
        self.screen_height = 800
        # 游戏背景
        self.image = pygame.image.load('images/background.jpg')
        self.image = pygame.transform.scale(self.image, (self.screen_width, self.screen_height))

        # 飞船大小
        self.ship_width = 70
        self.ship_height = 70

        # 红绿蓝
        self.bg_color = (230, 230, 230)
        self.new_bg_color = (0, 0, 255)
        #飞船移动速度
        self.ship_speed = 2
